package com.lyz.dataStructure.map;/**
 * @Author:759057893@qq.com Lyz
 * @Date: ${Date} 12:52
 * @Description:
 **/

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 *@Author:759057893@qq.com Lyz
 *@Date: 2019/7/11 12:52
 *@Description:
 **/
public class ConcurrentHashMapDemo {
    public static void main(String[] args) {
        Map map =new ConcurrentHashMap();
        map.put(1,1);
        map.put(1,"li");
        Map map1 = new HashMap();
        map1.put(2,3);
        System.out.println(map1.hashCode());
    }
}
